package cn.com.dycc.sys_manage.t_class.entity;

import java.io.Serializable;

public class ClassInfo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 7222969035325382433L;
	
	private String id;
	private String class_name;
	
	public ClassInfo(){}

	public ClassInfo(String id, String class_name) {
		super();
		this.id = id;
		this.class_name = class_name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}


	public String getClass_name() {
		return class_name;
	}

	public void setClass_name(String class_name) {
		this.class_name = class_name;
	}

	@Override
	public String toString() {
		return "ClassInfo [id=" + id +  ", class_name=" + class_name + "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ClassInfo other = (ClassInfo) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}
	
	

}
